package com.demo.nacos.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 调用远程service-provider服务
 *
 * @author 夜曲sin
 * @create 2021/6/24
 */
@FeignClient(value = "service-provider") // 指定服务名
public interface ProviderServiceFeign {

    @GetMapping("/provider/service1")
    String service1();
}
